package ii.dswba.frsf.utn.edu.ar;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class Suscriber1 implements ActionListener {

	private static int num;
	
	private int myNum;
	
	public Suscriber1() {
		super();
		myNum= ++num;
	}

	@Override
	public void actionPerformed(ActionEvent arg0) {
		num++;
		System.out.println("Evento num. " + myNum + " disparado!");
	}
	
}
